package com.elitel.frame.main.entity.polym;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CfgMultRelationFieldExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CfgMultRelationFieldExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRelationFieldIdIsNull() {
            addCriterion("relation_field_id is null");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdIsNotNull() {
            addCriterion("relation_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdEqualTo(String value) {
            addCriterion("relation_field_id =", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdNotEqualTo(String value) {
            addCriterion("relation_field_id <>", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdGreaterThan(String value) {
            addCriterion("relation_field_id >", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("relation_field_id >=", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdLessThan(String value) {
            addCriterion("relation_field_id <", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdLessThanOrEqualTo(String value) {
            addCriterion("relation_field_id <=", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdLike(String value) {
            addCriterion("relation_field_id like", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdNotLike(String value) {
            addCriterion("relation_field_id not like", value, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdIn(List<String> values) {
            addCriterion("relation_field_id in", values, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdNotIn(List<String> values) {
            addCriterion("relation_field_id not in", values, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdBetween(String value1, String value2) {
            addCriterion("relation_field_id between", value1, value2, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andRelationFieldIdNotBetween(String value1, String value2) {
            addCriterion("relation_field_id not between", value1, value2, "relationFieldId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNull() {
            addCriterion("service_id is null");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNotNull() {
            addCriterion("service_id is not null");
            return (Criteria) this;
        }

        public Criteria andServiceIdEqualTo(String value) {
            addCriterion("service_id =", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotEqualTo(String value) {
            addCriterion("service_id <>", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThan(String value) {
            addCriterion("service_id >", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("service_id >=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThan(String value) {
            addCriterion("service_id <", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanOrEqualTo(String value) {
            addCriterion("service_id <=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLike(String value) {
            addCriterion("service_id like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotLike(String value) {
            addCriterion("service_id not like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIn(List<String> values) {
            addCriterion("service_id in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotIn(List<String> values) {
            addCriterion("service_id not in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdBetween(String value1, String value2) {
            addCriterion("service_id between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotBetween(String value1, String value2) {
            addCriterion("service_id not between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdIsNull() {
            addCriterion("first_service_id is null");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdIsNotNull() {
            addCriterion("first_service_id is not null");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdEqualTo(String value) {
            addCriterion("first_service_id =", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdNotEqualTo(String value) {
            addCriterion("first_service_id <>", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdGreaterThan(String value) {
            addCriterion("first_service_id >", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("first_service_id >=", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdLessThan(String value) {
            addCriterion("first_service_id <", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdLessThanOrEqualTo(String value) {
            addCriterion("first_service_id <=", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdLike(String value) {
            addCriterion("first_service_id like", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdNotLike(String value) {
            addCriterion("first_service_id not like", value, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdIn(List<String> values) {
            addCriterion("first_service_id in", values, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdNotIn(List<String> values) {
            addCriterion("first_service_id not in", values, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdBetween(String value1, String value2) {
            addCriterion("first_service_id between", value1, value2, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstServiceIdNotBetween(String value1, String value2) {
            addCriterion("first_service_id not between", value1, value2, "firstServiceId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdIsNull() {
            addCriterion("first_field_id is null");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdIsNotNull() {
            addCriterion("first_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdEqualTo(String value) {
            addCriterion("first_field_id =", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdNotEqualTo(String value) {
            addCriterion("first_field_id <>", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdGreaterThan(String value) {
            addCriterion("first_field_id >", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("first_field_id >=", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdLessThan(String value) {
            addCriterion("first_field_id <", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdLessThanOrEqualTo(String value) {
            addCriterion("first_field_id <=", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdLike(String value) {
            addCriterion("first_field_id like", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdNotLike(String value) {
            addCriterion("first_field_id not like", value, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdIn(List<String> values) {
            addCriterion("first_field_id in", values, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdNotIn(List<String> values) {
            addCriterion("first_field_id not in", values, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdBetween(String value1, String value2) {
            addCriterion("first_field_id between", value1, value2, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andFirstFieldIdNotBetween(String value1, String value2) {
            addCriterion("first_field_id not between", value1, value2, "firstFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdIsNull() {
            addCriterion("second_service_id is null");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdIsNotNull() {
            addCriterion("second_service_id is not null");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdEqualTo(String value) {
            addCriterion("second_service_id =", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdNotEqualTo(String value) {
            addCriterion("second_service_id <>", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdGreaterThan(String value) {
            addCriterion("second_service_id >", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("second_service_id >=", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdLessThan(String value) {
            addCriterion("second_service_id <", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdLessThanOrEqualTo(String value) {
            addCriterion("second_service_id <=", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdLike(String value) {
            addCriterion("second_service_id like", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdNotLike(String value) {
            addCriterion("second_service_id not like", value, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdIn(List<String> values) {
            addCriterion("second_service_id in", values, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdNotIn(List<String> values) {
            addCriterion("second_service_id not in", values, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdBetween(String value1, String value2) {
            addCriterion("second_service_id between", value1, value2, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondServiceIdNotBetween(String value1, String value2) {
            addCriterion("second_service_id not between", value1, value2, "secondServiceId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdIsNull() {
            addCriterion("second_field_id is null");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdIsNotNull() {
            addCriterion("second_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdEqualTo(String value) {
            addCriterion("second_field_id =", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdNotEqualTo(String value) {
            addCriterion("second_field_id <>", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdGreaterThan(String value) {
            addCriterion("second_field_id >", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("second_field_id >=", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdLessThan(String value) {
            addCriterion("second_field_id <", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdLessThanOrEqualTo(String value) {
            addCriterion("second_field_id <=", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdLike(String value) {
            addCriterion("second_field_id like", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdNotLike(String value) {
            addCriterion("second_field_id not like", value, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdIn(List<String> values) {
            addCriterion("second_field_id in", values, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdNotIn(List<String> values) {
            addCriterion("second_field_id not in", values, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdBetween(String value1, String value2) {
            addCriterion("second_field_id between", value1, value2, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSecondFieldIdNotBetween(String value1, String value2) {
            addCriterion("second_field_id not between", value1, value2, "secondFieldId");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("sort_num is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("sort_num is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(String value) {
            addCriterion("sort_num =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(String value) {
            addCriterion("sort_num <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(String value) {
            addCriterion("sort_num >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(String value) {
            addCriterion("sort_num >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(String value) {
            addCriterion("sort_num <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(String value) {
            addCriterion("sort_num <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLike(String value) {
            addCriterion("sort_num like", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotLike(String value) {
            addCriterion("sort_num not like", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<String> values) {
            addCriterion("sort_num in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<String> values) {
            addCriterion("sort_num not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(String value1, String value2) {
            addCriterion("sort_num between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(String value1, String value2) {
            addCriterion("sort_num not between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andConditionIsNull() {
            addCriterion("\"condition\" is null");
            return (Criteria) this;
        }

        public Criteria andConditionIsNotNull() {
            addCriterion("\"condition\" is not null");
            return (Criteria) this;
        }

        public Criteria andConditionEqualTo(String value) {
            addCriterion("\"condition\" =", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotEqualTo(String value) {
            addCriterion("\"condition\" <>", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThan(String value) {
            addCriterion("\"condition\" >", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThanOrEqualTo(String value) {
            addCriterion("\"condition\" >=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThan(String value) {
            addCriterion("\"condition\" <", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThanOrEqualTo(String value) {
            addCriterion("\"condition\" <=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLike(String value) {
            addCriterion("\"condition\" like", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotLike(String value) {
            addCriterion("\"condition\" not like", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionIn(List<String> values) {
            addCriterion("\"condition\" in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotIn(List<String> values) {
            addCriterion("\"condition\" not in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionBetween(String value1, String value2) {
            addCriterion("\"condition\" between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotBetween(String value1, String value2) {
            addCriterion("\"condition\" not between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIsNull() {
            addCriterion("created_user is null");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIsNotNull() {
            addCriterion("created_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedUserEqualTo(String value) {
            addCriterion("created_user =", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotEqualTo(String value) {
            addCriterion("created_user <>", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserGreaterThan(String value) {
            addCriterion("created_user >", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserGreaterThanOrEqualTo(String value) {
            addCriterion("created_user >=", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLessThan(String value) {
            addCriterion("created_user <", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLessThanOrEqualTo(String value) {
            addCriterion("created_user <=", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLike(String value) {
            addCriterion("created_user like", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotLike(String value) {
            addCriterion("created_user not like", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIn(List<String> values) {
            addCriterion("created_user in", values, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotIn(List<String> values) {
            addCriterion("created_user not in", values, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserBetween(String value1, String value2) {
            addCriterion("created_user between", value1, value2, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotBetween(String value1, String value2) {
            addCriterion("created_user not between", value1, value2, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIsNull() {
            addCriterion("updated_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIsNotNull() {
            addCriterion("updated_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserEqualTo(String value) {
            addCriterion("updated_user =", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotEqualTo(String value) {
            addCriterion("updated_user <>", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserGreaterThan(String value) {
            addCriterion("updated_user >", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserGreaterThanOrEqualTo(String value) {
            addCriterion("updated_user >=", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLessThan(String value) {
            addCriterion("updated_user <", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLessThanOrEqualTo(String value) {
            addCriterion("updated_user <=", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLike(String value) {
            addCriterion("updated_user like", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotLike(String value) {
            addCriterion("updated_user not like", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIn(List<String> values) {
            addCriterion("updated_user in", values, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotIn(List<String> values) {
            addCriterion("updated_user not in", values, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserBetween(String value1, String value2) {
            addCriterion("updated_user between", value1, value2, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotBetween(String value1, String value2) {
            addCriterion("updated_user not between", value1, value2, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}